package com.wyl.auth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wyl.auth.entity.SysUserRole;

import java.util.List;

/**
* @Description 系统用户角色表
* @Author WuYiLong
* @Date 2025-04-05
*/
public interface SysUserRoleService extends IService<SysUserRole> {

    /**
     * 根据用户id查询
     * @param userId
     * @return
     */
    List<SysUserRole> getByUserId(Long userId);


}
